package com.sh.business.domain.bo;

import com.sh.business.domain.SzpnConfig;
import com.sh.common.mybatis.core.domain.BaseEntity;
import com.sh.common.core.validate.AddGroup;
import com.sh.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.math.BigDecimal;

/**
 * szpn配置业务对象 bms_szpn_config
 *
 * @author ruoyi
 * @date 2025-02-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SzpnConfig.class, reverseConvertGenerate = false)
public class SzpnConfigBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 级别
     */
    @NotNull(message = "级别不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer userLevel;

    /**
     * 价格
     */
    @NotNull(message = "价格不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal investAmount;

    /**
     * 最小业绩
     */
    @NotNull(message = "最小业绩不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal minAchievementAmount;

    /**
     * 最小业绩
     */
    @NotNull(message = "最小业绩不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal usdtDynamics;

    /**
     * 最小业绩
     */
    @NotNull(message = "最小业绩不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal szpnDynamics;


}
